Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][ADD] partner_invoicing_mode_cash_on_delivery #1736

Open
wants to merge 5 commits into
base: 16.0
Choose a base branch
from

Conversation

rousseldenis
Copy link
Contributor

@rousseldenis rousseldenis commented Jun 13, 2024

This work is based on : OCA/stock-logistics-transport#118

Depends on:

I've extracted the logic about cash on delivery to make it independent from shipment_advice process (as we only need it to print related invoices there). That's why I want also to keep initial commit.

@rousseldenis
Copy link
Contributor Author

@jbaudoux @tuantrantg

@rousseldenis rousseldenis force-pushed the 16.0-add-partner-invoicing-mode-cash-on-delivery-dro branch from 0e47e46 to 199be84 Compare June 14, 2024 07:54
@cyrilmanuel
Copy link

Hi @rousseldenis could you check this PR ? thanks a lot :)

@rousseldenis rousseldenis force-pushed the 16.0-add-partner-invoicing-mode-cash-on-delivery-dro branch from 42b08c6 to cb70061 Compare July 9, 2024 12:44
@rousseldenis
Copy link
Contributor Author

@OCA/accounting-maintainers This one is ready

@rousseldenis rousseldenis force-pushed the 16.0-add-partner-invoicing-mode-cash-on-delivery-dro branch from cb70061 to 3ace259 Compare July 9, 2024 13:25
@jbaudoux
Copy link

@OCA/accounting-maintainers Can we get this PR merged ?

@rafaelbn rafaelbn added this to the 16.0 milestone Aug 28, 2024
Copy link
Member

@rafaelbn rafaelbn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-1736-by-rafaelbn-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Aug 28, 2024
Signed-off-by rafaelbn
@OCA-git-bot
Copy link
Contributor

@rafaelbn your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-1736-by-rafaelbn-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@jbaudoux
Copy link

@rousseldenis Can you rebase ?

@jbaudoux
Copy link

@rousseldenis reminder ;)

"""
self.ensure_one()
res = super()._invoice_at_shipping()
res = res or self.sale_id.payment_mode_id.cash_on_delivery
Copy link

@jbaudoux jbaudoux Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invoicing should be triggered only for outgoing pickings. Here is the fix acsone#5

@jbaudoux
Copy link

jbaudoux commented Jan 8, 2025

@rousseldenis Can you rebase ? Another unrelated module is failing

tuantrantg and others added 2 commits January 8, 2025 11:37
The aim was to extract logic that depends on shipment_advice to have a separate
module to manage cash on delivery process independently.
@rousseldenis rousseldenis force-pushed the 16.0-add-partner-invoicing-mode-cash-on-delivery-dro branch from 51a38d1 to ad415fa Compare January 8, 2025 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants